﻿package cn.bdqn.dao.finance;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.pojo.Depatement;
import cn.bdqn.pojo.Finance;


public interface FinanceMapper {
	//查询所有记录
	public List<Finance> getlist(@Param("empName")String empName,@Param("depId")Integer depId,@Param("year")String year,@Param("month")String month,@Param("from")Integer from,@Param("pageSize") Integer pageSize);
	//查询所有的记录总数
	public int getFinanceCount(@Param("empName")String empName,@Param("depId")Integer depId,@Param("year")String year,@Param("month")String month);
	//查询所有部门记录信息
	public List<Depatement> getDepList();
	//导入薪资表
	public int insertFinance(List<Finance> finlist);
	/*//查询所有岗位记录信息
	public List<Job> getJobList();*/
	//通过id删除工资记录
	public int delFinance(Integer id);
/*	//通过empid查询员工具体信息
	public Emp getEmp(Integer empId);
	//通过empid查看该员工考勤信息
	public List<KaoQin> getKaoqinList(Integer kaoId);*/
}
